<template>
	<view>
		<uni-search-bar placeholder="搜索快递"></uni-search-bar>
		<uni-group title="快递服务">
			<view class="item-container">
				<view class="thumb-box"@click="toinde(link)">
					<image class="item-menu-image" src="../../../../static/uview/example/js_select_bak.png" mode="">
					</image>
					<view class="item-menu-name">点击扫码取快递</view>
				</view>
				<view class="thumb-box">
					<image class="item-menu-image" src="../../../../static/uview/example/js_select_bak.png" mode="">
					</image>
					<view class="item-menu-name">我的快递</view>
				</view>
			</view>
		</uni-group>
		<uni-group title="已代签包裹" >
			<uni-card title="菜鸟驿站" thumbnail="../../../../static/uview/example/js_select_bak.png">
				<view>取件码：A2-5895</view>
				<view>已送达3天</view>
			</uni-card>
		</uni-group>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			toinde(){
				uni.showToast({
					title:'扫码成功'
				})
			}
		}
	}
</script>

<style>
.item-container {
		display: flex;
		flex-wrap: wrap;
	}

	.thumb-box {
		width: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		margin-top: 20rpx;
	}

	.item-menu-image {
		width: 120rpx;
		height: 120rpx;
	}
</style>
